<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>验船师管理</title>

    <link rel="stylesheet" href="../../../../plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../../../css/global.css" media="all">
    <link rel="stylesheet" href="../../../../plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../../../css/table.css" />
</head>

<body>
<div class="admin-main">

    <blockquote class="layui-elem-quote">
        <div style="margin: 0px;">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-input-inline" style="width: 120px">
                        <select id="search_type" lay-filter="type">
                            <option value="">搜索类别</option>
                            <option value="Name">姓名</option>
                            <option value="Sex">性别</option>
                            <option value="State">状态</option>
                            <option value="phoneNum">手机号码</option>
                            <option value="Be">负责领域</option>
                        </select>
                    </div>
                    <div class="layui-input-inline" style="width: 250px">
                        <input type="text" id="search_value" autocomplete="off" placeholder="请输入搜索字段" class="layui-input">
                    </div>
                    <div class="layui-input-inline" style="display: none;width: 250px;" id="search_sex">
                        <input type="radio" name="sex" value="男" title="男">
                        <input type="radio" name="sex" value="女" title="女">
                    </div>
                    <div class="layui-input-inline" style="display: none;width: 250px;" id="search_state">
                        <input type="radio" name="state" value="正常" title="正常">
                        <input type="radio" name="state" value="禁用" title="禁用">
                    </div>
                    <div class="layui-input-inline" style="display: none;width: 250px;" id="search_be">
                        <input type="radio" name="be" value="船体" title="船体">
                        <input type="radio" name="be" value="电气" title="电气">
                        <input type="radio" name="be" value="轮机" title="轮机">
                    </div>
                    <div class="layui-input-inline">
                        <a href="javascript:void(0);" class="layui-btn layui-btn-primary" id="search">搜索</a>
                    </div>
                    <div class="layui-input-inline"  style="display: none;">
                        <input type="text" id="s_type" autocomplete="off" class="layui-input">
                        <input type="text" id="s_value" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-input-inline" style="float: right;width: auto">
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal" id="showall" >显示全部</a>
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal" id="add" >新增验船师用户</a>
                    </div>
                </div>
            </form>
        </div>
    </blockquote>

    <!--<fieldset class="layui-elem-field">-->
    <!--<legend>管理员</legend>-->
    <blockquote class="layui-elem-quote layui-quote-nm">
        <div class="layui-field-box">
            <table class="site-table table-hover" id="UserAdminTable">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>姓名</th>
                    <th>性别</th>
                    <th>身份证号码</th>
                    <th>手机号码</th>
                    <th>负责领域</th>
                    <th>创建时间</th>
                    <!--<th>负责领域</th>-->
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody id="con"></tbody>
                <!--模板-->
                <script type="text/html" id="conTemp">
                    {{# layui.each(d.list, function(index, item){ }}
                    <tr>
                        <td>{{ index+1 }} </td>
                        <td style="text-align: left;">{{ item.name }}</td>
                        <td>{{ item.sex }}</td>
                        <td>{{ item.userid }}</td>
                        <td>{{ item.username }}</td>
                        <td  style="text-align: left;">{{ item.ct }} {{ item.dq }} {{ item.lj }}</td>
                        <td>{{ item.rgsttime }}</td>
                        <td>{{ item.state }}</td>
                        <td>
                            <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini moress" data-id="{{ item.userid }}">详情</a>
                            <a href="javascript:;" class="layui-btn layui-btn-primary layui-btn-mini reset" data-id="{{ item.userid }}">重置</a>
                            <a href="javascript:;" class="layui-btn layui-btn-mini forbidd" data-id="{{ item.userid }}">禁用</a>
                            <a href="javascript:;" class="layui-btn layui-btn-mini layui-btn-warm reneww" data-id="{{ item.userid }}">恢复</a>
                            <a href="javascript:;" class="layui-btn layui-btn-danger layui-btn-mini deletee" data-id="{{ item.userid }}">删除</a>
                        </td>
                    </tr>
                    {{# }); }}
                </script>
            </table>
        </div>
    </blockquote>
    <!--</fieldset>-->

    <div class="admin-table-page">
        <div id="page" class="page" ></div>
    </div>
</div>
<script type="text/javascript" src="../../../../plugins/layui/layui.js"></script>
<script type="text/javascript" src="../../../../js/contextPath.js"></script>
<script>
    layui.config({
        base: '../../../../js/ControlCenter/UserM/Surveyor/'
    }).use('SurveyorM');
</script>

</body>

</html>